<f:view
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		>
	<f:loadBundle basename="bundle.sidemenu" var="sidemenuBundle"/>
	<f:loadBundle basename="bundle.address" var="addressBundle"/>
	<f:loadBundle basename="bundle.dictionary" var="dictionaryBundle"/>
	<f:loadBundle basename="bundle.department" var="departmentBundle"/>
	<f:loadBundle basename="bundle.security" var="securityBundle"/>
	<f:loadBundle basename="bundle.person" var="personBundle"/>
	<f:loadBundle basename="bundle.plan" var="planBundle"/>
	<f:loadBundle basename="bundle.student" var="studentBundle"/>
	<f:loadBundle basename="bundle.common" var="commonBundle"/>
	<f:loadBundle basename="bundle.test" var="testBundle"/>
	<a4j:form>
		<rich:panelMenu id="menu" mode="ajax"
						iconExpandedGroup="disc" iconCollapsedGroup="disc"
						iconExpandedTopGroup="chevronUp" iconGroupTopPosition="right"
						iconCollapsedTopGroup="chevronDown">
			<rich:panelMenuGroup label="Main menu" expanded="true" rendered="#{not empty userContext.currentUser}">
				<rich:panelMenuGroup id="dictionaryMenu" label="#{sidemenuBundle.dictionariesPage}"
									 expanded="#{sidemenuBean.groups['dictionaries']}">
					<rich:panelMenuGroup label="#{dictionaryBundle.dictionary}">
						<rich:panelMenuItem label="#{dictionaryBundle.nationality}" action="nationality"
											reRender="center"/>
					</rich:panelMenuGroup>
				</rich:panelMenuGroup>
			</rich:panelMenuGroup>
		</rich:panelMenu>
	</a4j:form>
</f:view>